package com.yz.newspaper.pojo.po;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author author
 * @since 2024-05-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_score")
@ApiModel(value = "UserScore对象", description = "VIEW")
public class UserScore implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "发布者名字")
    private String username;

    @ApiModelProperty(value = "媒体名称")
    private String mediaName;

    private BigDecimal score;

    @ApiModelProperty(value = "发布时间")
    private LocalDate time;

    @ApiModelProperty(value = "最终得分")
    private BigDecimal endScore;


}
